<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #box{
            margin: 0 auto;
            position: relative;
            width: 600px;
            height: 600px;
            border: 1px solid black;
            overflow: hidden;
        }
        #box1{
            position: absolute;
            top: 300px;
            left: -200px;
        }
        #content{
            position: absolute;
            width: 200px;
            height: 40px;
            background-color: blue;
            
        }
        #show{
            position: absolute;
            width: 40px;
            height: 40px;
            background-color: aqua;
            left: 200px;
        }
    </style>
</head>
<body>
    <div id="box">
       
       <div id="box1">
        <div id="content"></div>
        <div id="show"></div>
    </div>  </div>
        <script src="../../js/tools.js"></script>
        <script>
            
            let show = document.querySelector("#show")
            let content = document.querySelector('#content')
            let box1 =document.querySelector('#box1')
            show.onmouseenter=function(){
                movement02(box1,'left',0,1000) 
              
            }
            box1.onmouseleave=function(){
             
                movement02(box1,'left',-200,1000)
            }
        </script>
   
</body>
</html>